﻿namespace MathService.NeuralNetworks
{
    public class ScalarNeuralInput : INeuralInput
    {
        public double Value { get; set; }

        public double Weight { get; set; }

        public double WeightValue { get { return Weight * Value; } }

        public ScalarNeuralInput(double Weight) { this.Weight = Weight; }
    }
}